<div class="showDataMain" v-loading="loading">
    <div :class="'addButton '+(this.disabled?'disabledAddButton':'')" v-if="count<0 || (count>=0&&value.length<count)" @click="onSelected()">
        <i class="el-icon-circle-plus-outline"></i>
        <div class="t">添加拼团活动</div>
    </div>
    <div class="mainBox">
    <Draggable :class="'ul ' +(count<0 || (count>=0&&value.length<count))" tag="div" v-model="dataList"
        :disabled="disabled" ghostClass="ghost" @end="endDraggable" :animation="200" group="people">
        <div class="li" v-for="(item,index) in dataList">
            <div class="img">
                <imageBox class="albumUrl" :src="item.product.albumUrl"></imageBox>
            </div>
            <div class="text">
                <div class="name">
                    {{item.product.name}}
                </div>
                <div class="sort">库存：{{item.product.stock}}</div>
                <div class="price">￥{{item.product.salePrice}}</div>
                <div class="del" @click="deleteItem(item.id)"  v-if="!disabled"><i class="el-icon-delete"></i></div>
            </div>
        </div>
    </Draggable>
</div>
</div>